import Http from "@/util/http";

export const buyGame = (id) => {
    return Http({
        url: '/sys/station-order/buy-game',
        method: 'put',
        params: {
            gameId: id
        }
    })
}
export const getPurchaseList = (params) => {
    return Http({
        url: '/sys/station-order/purchase-list',
        method: 'get',
        params
    })
}
